package com.example.demo.repository;

import com.example.demo.entity.Score;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import java.util.List;

/**
 * Created by pengwan on 2017/7/27.
 */
@RepositoryRestResource(collectionResourceRel = "score", path = "score") // 在'/score'处创建RESTful入口点
public interface ScoreRepository extends JpaRepository<Score, String> {
}
